<?php

/*---------------------------------------------------------------------------
 * Please, don't touch this file.
 *
 * If you need to custom this Class, you can edit service.php
 * file overwrite and define new methods
 *---------------------------------------------------------------------------
 */

/**
 * Services that clients can buy
 *
 * @Authors Gonzalez Federico, Viera Leonel 
 * @package mailing
 * @subpackage model
 *
 * 
 */
class Service_protoweb extends Protoweb_models {
  public $table      = "services";
  public $model      = "service";
  public $has_many   = array('client');
  public $has_one    = array();
  public $validation = array(
    'name' => array(
      'label' => 'Service Name',
      'rules' => array('trim', 'required')      
    ),
    'order' => array(
      'label' => 'Service Order',
      'rules' => array()
          
    ),
    'price' => array(
      'label' => 'Monthly Price',
      'rules' => array('required')
    )
  ); // $validation
  

  public function __construct($id = NULL) {
    parent::__construct($id);
  } // end of method __construct($id = NULL)

} // Class Service_protoweb

/* End of file Service_protoweb.php */
/* Location: ./system/application/models/Service_protoweb.php */